package com.wangtao.firstapp.activity;

import android.media.Image;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;

import com.wangtao.firstapp.R;

/**
 * 个人页面下  点击  我的订单 跳转此页面
 * Created by lanouhn on 16/9/19.
 */
public class MyOrderActivity extends AppCompatActivity {
    private ImageView iv_back_titlebar_myorder;// 标题栏返回按钮

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_myrorder);
        initView();
        initEvent();
    }


    private void initView() {
        iv_back_titlebar_myorder = (ImageView) findViewById(R.id.iv_back_titlebar_myorder);
    }

    private void initEvent() {
        // 标题栏返回按钮
        iv_back_titlebar_myorder.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }

}
